package com.byyy.ccts.modules.sys.service.impl;

import com.byyy.ccts.core.common.service.impl.CommonServiceImpl;
import com.byyy.ccts.modules.sys.entity.DictGroup;
import com.byyy.ccts.modules.sys.mapper.DictGroupMapper;
import com.byyy.ccts.modules.sys.service.IDictGroupService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Transactional
@Service("dictGroupService")
public class DictGroupServiceImpl extends CommonServiceImpl<DictGroupMapper,DictGroup> implements IDictGroupService {

    /**
     * 更新数据字典状态
     * @param ids
     * @param state
     */
    @Override
    public void updateState(List<String> ids, String state) {
        this.baseMapper.updateState(ids, state);
    }

}
